<div class="x_panel">
  <div class="x_content row">
    <div class="col-xs-12">
      <form class="form-horizontal form-label-left" action="{$actionUrl}" method="post" enctype="multipart/form-data">
        <div class="form-group">
          <label class="control-label col-md-2 col-sm-4 col-xs-12">班级名称：</label>
          <div class="checkbox col-md-10 col-sm-8 col-xs-12">
            <input class="form-control col-md-3 col-xs-12" required="required" type="text" name="form[class_name]" value="">
          </div>
          <label class="control-label col-md-2 col-sm-4 col-xs-12">班级排序：</label>
          <div class="checkbox col-md-10 col-sm-8 col-xs-12">
            <input class="form-control col-md-3 col-xs-12" required="required" type="text" name="form[class_order]" value="">
          </div>
          <label class="control-label col-md-2 col-sm-4 col-xs-12">选择试卷：</label>
          <div class="checkbox col-md-8 col-sm-8 col-xs-12">
            <select class="form-control" name="form[paper_id]">
              <option value="0">请选择</option>
              {foreach $paper AS $value}
              <option value="{$value.paper_id}">{$value.paper_name}</option>
              {/foreach}
            </select>
          </div>

        </div>
        <div class="col-md-3 col-sm-12 col-xs-12 col-md-offset-4 col-sm-offset-4">
          <button class="btn btn-primary" type="submit">新增</button>
        </div>
      </form>
    </div>
  </div>
</div>
